import { login, logout, getInfo,getdictionary } from '@/api/user'
import { getToken, setToken, removeToken,getFlag,setFlag,removeFlag,getName, setName,removeName} from '@/utils/auth'
import router,{ resetRouter } from '@/router'
import qs from 'qs'
const state = {
  businessCode:""      //业务编码，输入再次切换时
}

const mutations = {
 SET_BUSINESSCODE:(state,businessCode) => {
    state.businessCode = businessCode
  }
}

const actions = {
  //业务编码保存到缓存中
  setbusinessCode({ commit, state },data) {
    commit('SET_BUSINESSCODE', data)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

